import { SPI, ViewType, FormFieldWidget, ModelFieldType, BaseFieldWidget } from '@kunlun/mobile-dependencies';
import BannerField from './Banner.vue';
console.log("first BannerFieldWidget")
@SPI.ClassFactory(
  BaseFieldWidget.Token({ ttype: ModelFieldType.String, viewType: ViewType.Form, widget:"QxbBannerWidget"})
)
export class BannerFieldWidget extends FormFieldWidget {
  public initialize(props) {
    super.initialize(props);
    this.setComponent(BannerField);
    return this;
  }
}
